Search results
37 packages found
Strip line and/or block comments from a string. Blazing fast, and works with JavaScript, Sass, CSS, Less.js, and a number of other languages.
- ada comments
- apl comments
- applescript comments
- block comment
- block
- block-comment
- c comments
- code comment
- comment
- comments
- csharp comments
- css comments
- css
- hashbang comments
- View more
Strip line and/or block comments from a string. Blazing fast, and works with JavaScript, Sass, CSS, Less.js, and a number of other languages.
- ada comments
- apl comments
- applescript comments
- block comment
- block
- block-comment
- c comments
- code comment
- comment
- comments
- csharp comments
- css comments
- css
- hashbang comments
- View more
Strip comments from code. Removes both line comments and/or block comments, with options to leave protected comments unharmed.
Extract JavaScript code comments from a string, using `acorn`. Optionally returns the AST and first line of code after comment - useful for parsing code context and api docs.
Uses babel (babylon) to extract JavaScript code comments from a JavaScript string or file.
RegExp for matching JavaScript-style block comments in a string. Should also work for SASS, LESS and other languages with the same block comment format.
Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).
Extract code comments from string or from a glob of files using esprima.
This is a temp fork of Jon Schlinkert's strip-comments with HTML removed for Safari Support
- ada comments
- apl comments
- applescript comments
- block comment
- block
- block-comment
- c comments
- code comment
- comment
- comments
- csharp comments
- css comments
- css
- hashbang comments
- View more
Strip code between comment blocks or by regex.
Strip line and/or block comments from a string. Blazing fast, and works with JavaScript, Sass, CSS, Less.js, and a number of other languages.
- ada comments
- apl comments
- applescript comments
- block comment
- block
- block-comment
- c comments
- code comment
- comment
- comments
- csharp comments
- css comments
- css
- hashbang comments
- View more
Regular expression for matching JavaScript comments
Uses esprima to extract line and block comments from a string of JavaScript. Also optionally parses code context (the next line of code after a comment).
Simple cli library to allow, fast allow/block of domains in /etc/hosts by adding, commenting and uncommenting [127.0.0.1 host] entries
Add additional styles to a block of text
Create custom comments RegExps. Leading and trailing space tolerant. With a content match.
Uncomment html, js or css
Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping.
Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping.
Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping.